Skip to main content

SVG Class

Description:

  A class for creating SVG objects.

__call

Type: Metamethod.

Description:

  Creates a new SVG object from the specified SVG file.

Signature:

metamethod __call: function(self: SVGClass, filename: string): SVG

Parameters:

ParameterTypeDescription
filenamestringThe path to the SVG format file.

Returns:

Return TypeDescription
SVGThe created SVG object.